<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>公司信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<LINK href="<%=path %>/admin/css/admin.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=path %>/admin/js/myJs.js"></script>
	<script type="text/javascript" src="<%=path%>/ckeditor/ckeditor.js"></script>
	<link href="<%=path %>/admin/css/myStyle.css" rel="stylesheet" type="text/css" />
	<style type="text/css">
		input{
			width: 300px;
		}
	</style>
  </head>
  
  <body>
   <TABLE cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
  <TR height=20>
    <TD></TD></TR>
  <TR height=22>
    <TD style="PADDING-LEFT: 20px; FONT-WEIGHT: bold; COLOR: #ffffff" 
    align="center" background="<%=path %>/admin/images/title_bg2.jpg">修改公司信息</TD></TR>
  <TR bgColor=#ecf4fc height=12>
    <TD></TD></TR>
  <TR height=20>
    <TD></TD></TR></TABLE>
    <form action="company_updateCompany.action" method="post">
<TABLE cellSpacing=0 cellPadding=2 width="95%" align=center border=0>
  <TR>
    <TD align=right width=100>公司名称：</TD>
    <TD style="COLOR: #880000">
    <!-- 隐藏于 保存ID -->
     <input type="hidden" name="company.companyId" value="${companyInfo.companyId }">
    <input type="text" name="company.companyName" value="${companyInfo.companyName }">
    </TD></TR>
  <TR>
    <TD align=right>公司地址：</TD>
    <TD style="COLOR: #880000"><input type="text" name="company.companyAddr" value="${companyInfo.companyAddr }"></TD></TR>
  <TR>
    <TD align=right>联系方式：</TD>
    <TD style="COLOR: #880000"><input type="text" name="company.companyPhone" value="${companyInfo.companyPhone }"></TD></TR>
  <TR>
    <TD align=right>公司传真：</TD>
    <TD style="COLOR: #880000"><input type="text" name="company.companyCz" value="${companyInfo.companyCz }"></TD></TR>
  <TR>
    <TD align=right>官方地址：</TD>
    <TD style="COLOR: #880000"><input type="text" name="company.companyWz" value="${companyInfo.companyWz }"></TD></TR>
  <TR>
    <TD align=right>公司邮编：</TD>
    <TD style="COLOR: #880000"><input type="text" name="company.companyCard" value="${companyInfo.companyCard }"></TD></TR>
  <TR>
    <TD align=right valign="top">公司简介：</TD>
    <TD style="COLOR: #880000">
    	<textarea  id="editor" name="company.companyDesc" >${companyInfo.companyDesc }</textarea>
    	<script type="text/javascript">
 //CKEDITOR.replace('editor');
 CKEDITOR.replace('editor',{
  width:1000,
  height:100
 });
</script>
   </TD>
    </TR>
    <tr>
    	<td colspan="2" align="center"><button type="submit"  class="allDelete">修改</button>
    	<button type="button"  class="allDelete" onclick="history.go(-1);">返回</button></td>
    </tr>
 </TABLE>
 </form>
  </body>
</html>
